package com.haima.ziliao.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.haima.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.haima.common.core.domain.BaseEntity;

/**
 * 视频课程对象 p_videoke
 * 
 * @author hima
 * @date 2024-10-21
 */
public class PVideoke implements Serializable
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课程标题 */
    @Excel(name = "课程标题")
    private String title;

    /** 教师ID */
    @Excel(name = "教师ID")
    @TableField("teacherId")
    private Long teacherId;

    /** 教师名称 */
    @Excel(name = "教师名称")
    @TableField("teacherName")
    private String teacherName;

    /** 教师头像 */
    @Excel(name = "教师头像")
    @TableField("teacherPic")
    private String teacherPic;

    /** 课程简介 */
    @Excel(name = "课程简介")
    private String jianjie;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("addTime")
    private Date addTime;

    /** 年级 */
    @Excel(name = "年级")
    private String nianji;

    /** 版本 */
    @Excel(name = "版本")
    private String banben;

    /** 学科 */
    @Excel(name = "学科")
    private String xueke;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal jiage;

    /** 会员价 */
    @Excel(name = "会员价")
    private BigDecimal huiyuanjia;

    /** 上下册 */
    @Excel(name = "上下册")
    private String cetype;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String pic;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 推荐 */
    @Excel(name = "推荐")
    private String tuijian;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setTeacherPic(String teacherPic) 
    {
        this.teacherPic = teacherPic;
    }

    public String getTeacherPic() 
    {
        return teacherPic;
    }
    public void setJianjie(String jianjie) 
    {
        this.jianjie = jianjie;
    }

    public String getJianjie() 
    {
        return jianjie;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setNianji(String nianji)
    {
        this.nianji = nianji;
    }

    public String getNianji()
    {
        return nianji;
    }
    public void setBanben(String banben)
    {
        this.banben = banben;
    }

    public String getBanben()
    {
        return banben;
    }
    public void setXueke(String xueke)
    {
        this.xueke = xueke;
    }

    public String getXueke()
    {
        return xueke;
    }
    public void setJiage(BigDecimal jiage) 
    {
        this.jiage = jiage;
    }

    public BigDecimal getJiage() 
    {
        return jiage;
    }
    public void setHuiyuanjia(BigDecimal huiyuanjia) 
    {
        this.huiyuanjia = huiyuanjia;
    }

    public BigDecimal getHuiyuanjia() 
    {
        return huiyuanjia;
    }
    public void setCetype(String cetype)
    {
        this.cetype = cetype;
    }

    public String getCetype()
    {
        return cetype;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setTuijian(String tuijian) 
    {
        this.tuijian = tuijian;
    }

    public String getTuijian() 
    {
        return tuijian;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("teacherPic", getTeacherPic())
            .append("jianjie", getJianjie())
            .append("addTime", getAddTime())
            .append("nianji", getNianji())
            .append("banben", getBanben())
            .append("xueke", getXueke())
            .append("jiage", getJiage())
            .append("huiyuanjia", getHuiyuanjia())
            .append("cetype", getCetype())
            .append("pic", getPic())
            .append("status", getStatus())
            .append("tuijian", getTuijian())
            .toString();
    }
}
